package spring.webflux.service;

import reactor.core.publisher.Flux;
import reactor.core.publisher.Mono;
import spring.webflux.entity.Personnel;

public interface PersonnelService {
    Mono<Personnel> getPersonnelById(int id);

    Flux<Personnel> getAllPersonnel();

    Mono<Void> insertPersonnel(Mono<Personnel> personnel);
}
